<template>
	<view class="content">
		
		<view class="bg_orange">
			<view class="title">{{data.statusTitle}}</view>
			<view class="titleDes">{{data.statusDes}}</view>
			<view class="fontSize13 again" v-show="data.showBtn" @tap="btnAgain">重新申请</view>
			<view class="fixedBox" v-show="data.showPrice">
				<view class="name">退款金额</view>
				<view class="price fontSemiBold">¥{{data.priceTop}}</view>
				<view class="name">退回到原账户</view>
				<view class="price fontSemiBold" style="color:#262626">¥{{data.priceTop}}</view>
			</view>
		</view>
		
		<view class="dataBox bgIsWhite">
			<view class="rowList">
				<image class="goodsImage" :src="goodsList.thumb_url" mode=""></image>
				<view class="goodsRight">
					<view class="goodsName overflow_one fontSize15">{{goodsList.goods_name}}</view>
					<view class="ruleBox fontSize12">{{goodsList.goods_attr_str}}</view>
					<view class="clearBoth"></view>
					<view class="priceBox">
						<view class="price fontSemiBold">¥{{goodsList.price}}</view>
						<view class="buyNumber">x{{goodsList.goods_num}}</view>
						<view class="clearBoth"></view>
					</view>
					<view class="clearBoth"></view>
				</view>
			</view>
			<view class="clearBoth"></view>
			<!-- <view class="btnRefund" @tap="btnRefund">申请退款</view> -->
			<!-- <view class="clearBoth"></view> -->
			<!-- <view class="dataRows isMargin">
				<view class="left isBold">优惠券</view>
				<view class="rights">
					<view class="names fontSize12">优惠券抵扣{{data.UseTicket}}元</view>
					<uni-icons class="icons" type="arrowright" color="#262626" size="14"/>
				</view>
				<view class="clearBoth"></view>
			</view> -->
			<view class="dataRows">
				<view class="left isBold">商品总额</view>
				<view class="rights">
					<view class="priceNames fontSize15 fontSemiRegular">¥{{goodsList.price*goodsList.goods_num}}</view>
				</view>
				<view class="clearBoth"></view>
			</view>
			<!-- <view class="dataRows">
				<view class="left fontSize13">运费</view>
				<view class="rights">
					<view class="priceNames color_orange fontSize15 fontSemiRegular">+¥{{data.freight}}</view>
				</view>
				<view class="clearBoth"></view>
			</view>
			<view class="dataRows">
				<view class="left fontSize13">优惠券</view>
				<view class="rights">
					<view class="priceNames color_orange fontSize15 fontSemiRegular">-¥{{data.UseTicket}}</view>
				</view>
				<view class="clearBoth"></view>
			</view> -->
			<view class="dataRows">
				<view class="left isBold thirdLeft">订单备注</view>
				<view class="rights seventhRight">
					<input class="thisInput" type="text" placeholder="" v-model="data.getReamke" disabled="disabled">
				</view>
				<view class="clearBoth"></view>
			</view>
			<view class="numberAndMoney">
				<view class="rightA color_orange">¥{{goodsList.price*goodsList.goods_num}}</view>
				<view class="center fontSize13">小计</view>
				<view class="left">共{{goodsList.goods_num}}件</view>
				<view class="clearBoth"></view>
			</view>
		</view>

		<view class="dataBox bgIsWhite">
			<view class="dataRows" style="margin-bottom: 20upx;">
				<view class="left fontSize13">订单编号</view>
				<view class="rights">
					<view class="priceNames fontSize15">{{data.orderNUmber}}</view>
				</view>
				<view class="clearBoth"></view>
			</view>
			<view class="dataRows" style="margin-bottom: 20upx;">
				<view class="left fontSize13">退款方式</view>
				<view class="rights">
					<view class="priceNames fontSize15">{{data.backWay}}</view>
				</view>
				<view class="clearBoth"></view>
			</view>
			<view class="dataRows" style="margin-bottom: 20upx;">
				<view class="left fontSize13">退款原因</view>
				<view class="rights">
					<view class="priceNames fontSize15">{{data.backReason}}</view>
				</view>
				<view class="clearBoth"></view>
			</view>
			<view class="dataRows">
				<view class="left fontSize13">申请时间</view>
				<view class="rights">
					<view class="priceNames fontSize15">{{data.backTime}}</view>
				</view>
				<view class="clearBoth"></view>
			</view>
		</view>
		
		<view class="flexs bgIsWhite" v-show="data.backNumberShow">
			<view class="name fontSize13">退货物流单号</view>
			<view class="price">{{data.backNumber}}</view>
		</view>
		
		<view class="dataBox bgIsWhite" v-show="data.showAddr">
			<view class="title fontSize13">用户收货地址</view>
			<view class="rightsA">
				<view class="namesBox">
					<view class="name overflow_one">{{defaultAddr.name}}</view>
					<view class="tel">{{defaultAddr.tel}}</view>
					<view class="clearBoth"></view>
				</view>
				<view class="addr overflow_two">{{defaultAddr.addrDetails}}</view>
			</view>
			<view class="clearBoth"></view>
			<!-- <view class="otherBox" v-show="data.orderNUmbersShow">
				<view class="otherName fontSize13">退货物流单号</view>
				<input class="inputBox" type="text" value="" v-model="data.orderNUmbers" placeholder="请填写" />
				<view class="numbers">{{data.backNumber}}</view>
			</view> -->
			<view class="clearBoth"></view>
		</view>
		
		
		
		<view class="dataBox bgIsWhite" v-show="data.showStoreAddr">
			<view class="title fontSize13">商家地址</view>
			<view class="rightsA">
				<view class="namesBox">
					<view class="name overflow_one">{{store.name}}</view>
					<view class="tel">{{store.tel}}</view>
					<view class="clearBoth"></view>
				</view>
				<view class="addr overflow_two">{{store.addrDetails}}</view>
			</view>
			<view class="clearBoth"></view>
			<view class="otherBox">
				<view class="otherName fontSize13">物流公司</view>
				<input class="inputBox" type="text" value="" v-model="store.orderCom" placeholder="请填写物流公司" />
				<!-- <view class="numbers">{{data.backNumber}}</view> -->
			</view>
			<view class="otherBox" style="margin-top: 0;">
				<view class="otherName fontSize13">物流单号</view>
				<input class="inputBox" type="text" value="" v-model="store.orderNUmbers" placeholder="请填写物流单号" />
				<!-- <view class="numbers">{{data.backNumber}}</view> -->
			</view>
			<view class="otherBox" style="margin-top: 0;">
				<view class="otherName fontSize13">手机号码</view>
				<input class="inputBox" type="text" value="" v-model="data.userTel" placeholder="请填写手机号" />
				<!-- <view class="numbers">{{data.backNumber}}</view> -->
			</view>
			<view class="clearBoth"></view>
		</view>
		
		<view class="btnTips" @tap="btnTips" v-show="data.showBtnOnlyOne">{{data.buttonName}}</view>
		<view class="footers" v-show="data.showBtnOnlyOne == false">
			<view class="bg_blue"    @tap="btnTips"  	v-show=" data.apply_status == 0 || data.apply_status == 1 || data.apply_status == 2 ">取消售后</view>
			<view class="bg_oranges" @tap="btnTel"	  	v-show=" data.aasdasd ">联系平台</view>
			<view class="bg_oranges" @tap="btnSure"		v-show=" data.apply_status == 0 || data.apply_status == 1 || data.apply_status == 2 ">确定</view>
		</view>

	</view>
</template>
<style>
	.content .flexs{width:90%;height:100upx;line-height: 100upx;margin-left: 5%;margin-top: 40upx;display: flex;justify-content: space-between;padding:0 5% !important;background: red;}
	
	.content .dataBox .title{color:#262626;font-weight: bold;margin-bottom: 20upx;}
	.content .dataBox .rightsA{width:100%;height: 110upx;}
	.content .dataBox .rightsA .namesBox{width: 100%;}
	.content .dataBox .rightsA .namesBox .name{max-width: 50%;float: left;font-weight: bold;font-size: 32upx;color:#000000;}
	.content .dataBox .rightsA .namesBox .tel{float: left;margin-left: 10upx;color:#010101;font-size: 32upx;}
	.content .dataBox .rightsA .addr{color:#444444;font-size: 26upx;margin-top:10upx;}
	.content .dataBox .otherBox{height:80upx;line-height: 80upx;display: flex;justify-content:left;margin-top: 40upx;}
	.content .dataBox .otherBox .otherName{height:80upx;line-height: 80upx;color:#262626;margin-right: 20upx;}
	.content .dataBox .otherBox .inputBox{width:65%;height:60upx;line-height: 60upx;margin-top: 10upx;padding:0 10upx;border:2upx solid #DDDDDD;border-radius: 4upx;}
	
	
	.content .footers{width: 100%;display: flex;justify-content: space-around;margin-top: 40upx;}
	.content .footers .bg_blue{width: 40%;padding:20upx 0;background: #283266;color:white;font-size: 32upx;text-align: center;border-radius: 100upx;}
	.content .footers .bg_oranges{width: 40%;padding:20upx 0;background: #DC582A;color:white;font-size: 32upx;text-align: center;border-radius: 100upx;}
	
	.content .bg_orange{width: 100%;padding:40upx 0 80upx 5%;margin-bottom: 120upx;background: #DC582A;position: relative;}
	.content .bg_orange .title{font-weight: bold;color:#FFFFFF;font-size: 36upx;}
	.content .bg_orange .titleDes{color:#FFFFFF;font-size: 24upx;margin-top: 10upx;}
	.content .bg_orange .fixedBox{width:90%;padding:20upx 5%;border-radius: 10upx;display: flex;justify-content: space-between;position: absolute;left:5%;bottom:-90upx;z-index: 2;background: white;flex-wrap: wrap;}
	.content .bg_orange .fixedBox .name{width:50%;height:60upx;line-height: 60upx;}
	.content .bg_orange .fixedBox .price{width:50%;height:60upx;line-height: 60upx;color:#DC582A;font-size: 36upx;text-align: right;}
	.content .bg_orange .again{padding:15upx 30upx;border-radius: 100upx;position: absolute;top:30%;right:5%;z-index: 2;background: white;color:#DC582A;}


	.content{width:100%;min-height: 95vh;background:rgb(245,245,249);padding:0upx 0% 50upx 0%;}
	.content .dataBox .btnRefund{padding:10upx 20upx;border-radius: 20upx;float: right;margin-top: 30upx;border:2upx solid #CCCCCC;color:#262626;font-size: 26upx;}
	.content .btnTips{width: 90%;margin-left: 5%;padding:25upx 0;color:white;border-radius: 100upx;background: #DC582A;text-align: center;margin-top:40upx}
	.content .topBoxs{width: 100%;padding:30upx 30upx;background: #DC582A;color:white;margin-bottom: 20upx;border-bottom-left-radius: 100upx;border-top-right-radius: 100upx;border-bottom-right-radius: 100upx}
	.content .bgIsWhite{background: white;border-radius: 10upx;padding:5%;}
	.content .color_orange{color:#DC582A !important}
	.content .addrBox{width: 100%;padding-bottom: 0;}
	.content .addrBox .addrIcon{width:52upx;height: 52upx;margin-top:34upx;float: left;margin-right: 5%;}
	.content .addrBox .icons{float: right;margin-top:36upx;}
	.content .addrBox .rights{width:80%;height: 110upx;float: left;}
	.content .addrBox .rights .namesBox{width: 100%;}
	.content .addrBox .rights .namesBox .name{max-width: 50%;float: left;font-weight: bold;font-size: 32upx;color:#000000;}
	.content .addrBox .rights .namesBox .tel{float: left;margin-left: 10upx;color:#010101;font-size: 32upx;}
	.content .addrBox .rights .addr{color:#444444;font-size: 26upx;margin-top:10upx;}
	.content .addrBox .rights .none{width:100%;height: 110upx;line-height: 110upx;}
	.content .addrBox .BgBottom{width: 110%;height:10upx;margin-top: 5%;margin-left: -5%;}
	.content .dataBox{width: 90%;margin-top: 40upx;margin-left: 5%;}
	.content .dataBox .topBox{width: 100%;display: flex;justify-content: left;}
	.content .dataBox .topBox .logo{width: 44upx;height: 44upx;}
	.content .dataBox .topBox .names{max-width:60%;height: 44upx;line-height: 44upx;margin:0 10upx 0 20upx;font-size: 30upx;font-weight: bold;color:#010101;}
	.content .dataBox .topBox .icons{margin-top:8upx;}
	.content .dataBox .goodsImage{width:180upx;height: 180upx;border-radius: 10upx;float: left;margin-right: 5%;margin-top: 0;}
	.content .dataBox .goodsRight{width: 65%;height:180upx;float: left;margin-top: 0;background: white;margin-bottom:40upx;}
	.content .dataBox .goodsRight .goodsName{}
	.content .dataBox .goodsRight .ruleBox{color:#999999;float: left;margin:20upx 0 40upx 0}
	.content .dataBox .goodsRight .priceBox{width: 100%;height:70upx;line-height: 70upx;}
	.content .dataBox .goodsRight .priceBox .price{color:#262626;font-size: 40upx;float: left;}
	.content .dataBox .goodsRight .priceBox .buyNumber{color:#000000;font-weight: bold;float: right;}
	.content .dataBox .dataRows{width: 100%;}
	.content .dataBox .isMargin{margin:30upx 0;margin-top: 50upx;}
	.content .dataBox .isBold{font-weight: bold;}
	.content .dataBox .dataRows .left{width: 30%;float: left;}
	.content .dataBox .dataRows .rights{width: 70%;float: right;}
	.content .dataBox .dataRows .rights .names{width: 80%;color:#BBBBBB;float: left;text-align: right;}
	.content .dataBox .dataRows .rights .priceNames{width:100%;color:#262626;float: left;text-align: right;}
	.content .dataBox .dataRows .rights .icons{color:#BBBBBB;float: right;}
	.content .dataBox .dataRows .thirdLeft{width: 30%;float: left;margin-top: 20upx;}
	.content .dataBox .dataRows .seventhRight{width: 70%;float: left;margin-top: 20upx;}
	.content .dataBox .dataRows .rights .thisInput{width:100%;text-align: left;}
	.content .dataBox .numberAndMoney{width: 100%;text-align: right;margin-top:20upx;}
	.content .dataBox .numberAndMoney .left{height:64upx;line-height:64upx;float:right;font-size: 26upx;color:#999999;}
	.content .dataBox .numberAndMoney .center{height:64upx;line-height:64upx;float:right;font-size: 26upx;margin:0 20upx}
	.content .dataBox .numberAndMoney .rightA{height:64upx;line-height:64upx;float:right;font-size:36upx;font-family:'Bahnschrift-SemiBold'}
	.content .integralBox{width: 100%;margin-top: 40upx;}
	.content .integralBox .leftBox{width:75%;float: left;}
	.content .integralBox .leftBox .iconBox{padding:4upx 10upx;border-radius: 100upx;background: rgb(220,88,42);float: left;}
	.content .integralBox .leftBox .icon{width: 22upx;height: 22upx;float: left;margin-top:6upx;}
	.content .integralBox .leftBox .iconName{font-size:22upx;float: left;color:white;margin-left:10upx;}
	.content .integralBox .leftBox .tip{color:#262626;float: left;margin:4upx 20upx 0 20upx}
	.content .integralBox .leftBox .tips{float: left;margin-top:4upx;}
	.content .integralBox .leftBox .allIntegral{color:#999999;margin-top: 10upx;}
	.content .integralBox .right{float: right;}
	.content .footer{width: 100%;height: 100upx;line-height: 100upx;position: fixed;left:0;bottom: 0;z-index: 2;background: white;}
	.content .footer .footerName{color:#B3B3B3;float: left;margin:0 20upx 0 5%}
	.content .footer .footerPrice{font-size:48upx;float: left;}
	.content .footer .btnPay{padding:0 30upx;font-size: 32upx;margin-right: 5%;height:60upx;line-height: 60upx;margin-top: 20upx;float: right;background: #DC582A;color:white;border-radius: 100upx;}
	.content .payBox{width: 100%;height: 100vh;position: fixed;top:0;left:0;z-index: 2;}
	.content .payBox .bg_grey{width: 100%;height: 30vh;position: fixed;top:0;left:0;z-index: 2;background: rgba(0,0,0,0.4);}
	.content .payBox .bg_white{width: 100%;height: 70vh;position: fixed;bottom:0;left:0;z-index: 2;background: white;}
	.content .payBox .bg_white .title{width: 100%;text-align: center;color:#262626;font-weight: bold;padding:30upx 0;border-bottom: 2upx solid #DDDDDD;}
	.content .payBox .bg_white .icon{width: 28upx;height: 28upx;position: absolute;top:2%;right:2%;z-index: 2;}
	.content .payBox .bg_white .rows{width: 100%;margin:40upx 0;}
	.content .payBox .bg_white .rows .useIcon{width: 54upx;height: 54upx;float: left;margin-left: 5%;}
	.content .payBox .bg_white .rows .name{float: left;height: 54upx;line-height:54upx;margin:0 20upx;font-weight: bold;}
	.content .payBox .bg_white .rows .names{float: left;height: 54upx;line-height:54upx;margin:0;color:#BBBBBB}
	.content .payBox .bg_white .rows .noneIcon{width: 32upx;height: 32upx;border:2upx solid grey;border-radius: 100upx;float: right;margin:20upx 5% 0 0}
	.content .payBox .bg_white .rows .thisOne{ width: 32upx;height: 32upx;float: right;margin:20upx 5% 0 0}/* border:2upx solid rgb(220,88,42); */
	.content .payBox .bg_white .btnSure{width: 90%;padding: 15upx 0;margin-left: 5%;color:white;background: rgb(220,88,42);border-radius: 200upx;text-align: center;font-size: 36upx;position: absolute;left:0;bottom: 5%;z-index: 2;}
	.content .choosePlaceBox{width: 100%;height: 100vh;position: fixed;top:0;left:0;z-index: 2;}
	.content .choosePlaceBox .bg_grey{width: 100%;height: 30vh;position: fixed;top:0;left:0;z-index: 2;background: rgba(0,0,0,0.4);}
	.content .choosePlaceBox .bg_white{width: 100%;height: 70vh;position: fixed;bottom:0;left:0;z-index: 2;background: white;}
	.content .choosePlaceBox .bg_white .title{width: 100%;text-align: center;color:#262626;font-weight: bold;padding:30upx 0;border-bottom: 2upx solid #DDDDDD;}
	.content .choosePlaceBox .bg_white .icon{width: 28upx;height: 28upx;position: absolute;top:2%;right:2%;z-index: 2;}
	.content .choosePlaceBox .bg_white .btnSure{width: 90%;padding: 15upx 0;margin-left: 5%;color:white;background: rgb(220,88,42);border-radius: 200upx;text-align: center;font-size: 36upx;position: absolute;left:0;bottom: 5%;z-index: 2;}
	.content .choosePlaceBox .bg_white .addrScroll{width: 100%;height: 70%;margin-top: 20upx;overflow-y: scroll;}
	.content .choosePlaceBox .bg_white .addrScroll .addrList{width: 95%;margin-left:2.5%;margin-top: 40upx;}
	.content .choosePlaceBox .bg_white .addrScroll .addrList .noneIcon{width: 32upx;height: 32upx;border:2upx solid grey;border-radius: 100upx;float: left;margin:40upx 5% 0 0}
	.content .choosePlaceBox .bg_white .addrScroll .addrList .thisOne{ width: 32upx;height: 32upx;float: left;margin:40upx 5% 0 0}/* border:2upx solid rgb(220,88,42); */
	.content .choosePlaceBox .bg_white .addrScroll .addrList .rights{width:90%;padding-bottom: 20upx;float:left;border-bottom: 2upx solid #DDDDDD;}
	.content .choosePlaceBox .bg_white .addrScroll .addrList .rights .beThis{font-weight: bold;margin-right: 5%;color:rgb(220,88,42);background: rgb(251,238,233);float: left;padding:10upx;border-radius: 4upx;}
	.content .choosePlaceBox .bg_white .addrScroll .addrList .rights .addrDetails{width:72%;float: left;font-weight: bold;font-size:30upx;}
	.content .choosePlaceBox .bg_white .addrScroll .addrList .rights .name{float: left;margin-top:20upx;color:#262626}
	.content .choosePlaceBox .bg_white .addrScroll .addrList .rights .tel{float: left;margin-top:20upx;margin-left: 5%;color:#262626}
	.content .choosePlaceBox .bg_white .addrScroll .addrList .rights .iconEdit{width: 28upx;height: 30upx;float: right;}
	.content .chooseTicketBox{}
	.content .chooseTicketBox{width: 100%;height: 100vh;position: fixed;top:0;left:0;z-index: 2;}
	.content .chooseTicketBox .bg_grey{width: 100%;height: 30vh;position: fixed;top:0;left:0;z-index: 2;background: rgba(0,0,0,0.4);}
	.content .chooseTicketBox .bg_white{width: 100%;height: 70vh;position: fixed;bottom:0;left:0;z-index: 2;background: rgb(245,245,249);}
	.content .chooseTicketBox .bg_white .title{font-size: 40upx;width: 100%;text-align: center;color:#262626;font-weight: bold;padding:30upx 0;}
	.content .chooseTicketBox .bg_white .btnSure{width: 90%;padding: 15upx 0;margin-left: 5%;color:white;background: rgb(220,88,42);border-radius: 200upx;text-align: center;font-size: 36upx;position: absolute;left:0;bottom: 5%;z-index: 2;}
	.content .chooseTicketBox .bg_white .ticketScrollBox{width: 100%;height:75%;overflow-y: scroll;}
	.content .chooseTicketBox .bg_white .ticketList{width:95%;margin-left: 2.5%;margin-bottom: 40upx;border-radius: 10upx;background: white;padding:2.5%;}
	.content .chooseTicketBox .bg_white .ticketList .priceBoxs{width: 30%;float: left;text-align: center;}
	.content .chooseTicketBox .bg_white .ticketList .priceBoxs .ticketPrice{font-size: 100upx;height:130upx;line-height: 130upx;color:#DC582A;}
	.content .chooseTicketBox .bg_white .ticketList .priceBoxs .priceName{font-size: 24upx;color:#DC582A;}
	.content .chooseTicketBox .bg_white .ticketNameBox{width: 40%;float: left;text-align: left;margin-left: 5%;}
	.content .chooseTicketBox .bg_white .ticketNameBox .ticketTitle{font-size:36upx;font-weight: bold;color:#262626;margin-top: 20upx;}
	.content .chooseTicketBox .bg_white .ticketNameBox .ticketUseTime{font-size: 26upx;color:#999999;font-weight: bold;margin:10upx 0 20upx 0}
	.content .chooseTicketBox .bg_white .ticketNameBox .useWay{font-size: 26upx;color:#BBBBBB;}
	.content .chooseTicketBox .bg_white .ticketLineCenter{width: 25%;height:164upx;display: flex;align-items: center;}
	.content .chooseTicketBox .bg_white .getTicketBtn{width: 100%;padding:10upx 0;color:white;border-radius: 200upx;text-align: center;background: rgb(220,88,42);float: right;font-size: 26upx;}
</style>
<script>
	import Share from '@/common/wx_share.js'
	export default {
		data() {
			return {
				share:{
					title:"",
					path:'/pages/tabbar/index',
					imageUrl:'',
					desc:'',
					content:''
				},
				data:{
					// statusTitle:"退款中",
					// statusDes:"48小时后卖家尚未确认将自动退款到原账户",
					// statusDes:"48小时后卖家尚未确认，请退货给商家默认地址",
					
					// statusTitle:"卖家同意退款",
					// statusDes:"卖家确认收货后退款成功，15天内卖家未确认将自动退款",
					
					// statusTitle:"等待卖家收货",
					// statusDes:"卖家确认收货后即可以为您处理退款",
					
					// statusTitle:"卖家拒绝售后",
					// statusDes:"7天后未做操作，则交易正常进行",
					
					// statusTitle:"退款成功",
					// statusDes:"2021年1月20日 19:00",
					
					statusTitle:"",
					statusDes:"",
					showBtn:false,
					showPrice:false,
					priceTop:"",
					backNumberShow:false,
					orderNUmbersShow:true,
					showAddr:false,
					showBtnOnlyOne:false,
					
					apply_status:"",
					showStoreAddr:false,
					userTel:"",
					
					getReamke:"",
					storeLogo:"",
					storeName:"",
					name:"",
					price:"",
					number:"",
					freight:"",
					all:"",
					UseTicket:"",
					orderNUmber:"",
					orderTime:"",
					payTime:"",
					backWay:"",
					backReason:"",
					backTime:"",
					orderNUmbers:"",
					backNumber:"",
					tel:"",
				},
				store:{
					name:"",
					tel:"",
					addrDetails:"",
					orderNUmbers:"",
					orderCom:"",
				},
				goodsList:"",
				payWay:0,
				UseTicket:"",
				buttonName:"",//取消售后 取消退款
				
				defaultAddr:{id:"",name:"",tel:"",isThis:true,beThis:true,addrDetails:""},
				
				order_num:"",
				id:"",
				
				

			}
		},
		onLoad(e){
			this.id = e.orgoods_id
			this.order_num = e.order_num
			if( e.index == 0 ){//查看详情
				this.AjaxLoad(e.orgoods_id,e.order_num)
			}else if( e.index == 1 ){
				
			}else if( e.index == 2 ){
				
			}else if( e.index == 3 ){
				
			}else if( e.index == 4 ){
				
			}
		},
		methods: {
			AjaxLoad(orgoods_id,order_num){
				let param={
					token:this._$userToken("userInfo").token,
					order_num:order_num,
					orgoods_id:orgoods_id,
				};
				this._$InitRequest.request("th_apply/applyinfo", param).then(res => {
					this.data.statusTitle = res.data.applys.zhuangtai
					this.data.apply_status = res.data.applys.apply_status
					if( res.data.applys.apply_status == 0 ){
						this.data.statusDes = res.data.applys.sycheck_timeout
						this.data.backNumberShow = false
						this.data.orderNUmbersShow = false
						this.data.showBtnOnlyOne = true
						if( res.data.applys.thfw_id == 1 ){
							this.data.buttonName = "取消退款"
						}else if( res.data.applys.thfw_id == 2 || res.data.applys.thfw_id == 3 ){
							this.data.buttonName = "取消售后"
						}
					}else if( res.data.applys.apply_status == 1 ){
						this.data.statusDes = res.data.applys.agree_time
					}else if( res.data.applys.apply_status == 2 ){
						this.data.statusDes = res.data.applys.refuse_time
						this.data.showBtn = true
						this.data.showBtnOnlyOne = true
					}else if( res.data.applys.apply_status == 3 ){
						this.data.statusDes = res.data.applys.com_time
						this.data.showBtnOnlyOne = true
					}else if( res.data.applys.apply_status == 4 ){
						this.data.statusDes = res.data.applys.che_time
						this.data.showBtn = true
					}
					if( res.data.applys.thfw_id == 1 || res.data.applys.thfw_id == 2 ){
						this.data.showPrice = true
					}
					this.data.priceTop = res.data.applys.tui_price
					this.goodsList = res.data.orgoods
					this.data.getReamke = res.data.applys.th_content
					
					this.data.orderNUmber = res.data.applys.th_number
					this.data.backWay = res.data.applys.thfw
					this.data.backReason = res.data.applys.th_reason
					this.data.backTime = res.data.applys.apply_time
					
					if( res.data.applys.thfw_id == 3 ){
						this.data.showAddr = true
					}
					
					if( res.data.applys.thfw_id == 2 && res.data.applys.apply_status == 1 && res.data.applys.dcfh_status == 0 || res.data.applys.thfw_id == 3 && res.data.applys.apply_status == 1 && res.data.applys.dcfh_status == 0 ){
						this.data.showStoreAddr = true
						this.data.showBtnOnlyOne = false
						//商家地址
						this.store.name = res.data.applys.dizi.name
						this.store.tel = res.data.applys.dizi.telephone
						this.store.addrDetails = res.data.applys.dizi.province + res.data.applys.dizi.city + res.data.applys.dizi.area + res.data.applys.dizi.address
					}else{
						this.data.showBtnOnlyOne = null
					}
					
					if( res.data.applys.thfw_id == 3 && res.data.applys.apply_status == 1 && res.data.applys.fh_status == 1 ){
						this.data.showBtnOnlyOne = true
						this.data.buttonName = "确认收货"
					}
					
					
					
					if( res.data.applys.dcfh_status == 1 ){
						this.data.backNumber = res.data.tuiwulius.ps_num
						this.data.backNumberShow = true
					}

					this.defaultAddr.name = res.data.applys.contacts
					this.defaultAddr.tel = res.data.applys.telephone
					this.defaultAddr.addrDetails = res.data.applys.shengshiqu
					
					
				},error=>{})
			},
			switchChange(e){
				if( e.detail.value == true ){
					this.beForePrice = this.data.all
					this.data.all -= this.integralList.userMonth
				}else{
					this.data.all = this.beForePrice
				}
			},
			choosePayWay(e){this.payWay = e},
			choosePlace(id,index){
				for (var i = 0; i < this.addrList.length; i++) {
					this.addrList[i].beThis = false
				}
				this.addrList[index].beThis = true
				this.defaultAddr = this.addrList[index]
			},
			getTicketNow(id,index,price){
				this.UseTicket = this.ticketList[index].price;
				this.showTicket = false
				this.data.all = this.allMoney
				this.data.all -= price
			},
			btnSure(){
				let param={
					token:this._$userToken("userInfo").token,
					ps_name:this.store.orderCom,
					th_number:this.data.orderNUmber,
					ps_num:this.store.orderNUmbers ,
					telephone:this.data.userTel,
				}
				this._$InitRequest.request('th_apply/thfahuo', param).then(res => {
					uni.showToast({title:res.mess,icon:"none"})
					if( res.status == 200 ){
						setTimeout(function(){
							uni.switchTab({
								url:"/pages/tabbar/mine"
							})
						},1500)
					}
				},error=>{})
			},
			btnTips(){
				if( this.data.buttonName == "确认收货" ){
					let param={
						token:this._$userToken("userInfo").token,
						th_number:this.data.orderNUmber
					};
					this._$InitRequest.request('th_apply/surehuan', param).then(res => {
						uni.showToast({title:res.mess,icon:"none"})
						if( res.status == 200 ){
							setTimeout(function(){
								uni.switchTab({
									url:"/pages/tabbar/mine"
								})
							},1500)
						}
					},error=>{})
				}else{
					let param={
						token:this._$userToken("userInfo").token,
						th_number:this.data.orderNUmber
					};
					this._$InitRequest.request('th_apply/chexiao', param).then(res => {
						uni.showToast({title:res.mess,icon:"none"})
						if( res.status == 200 ){
							setTimeout(function(){
								uni.switchTab({
									url:"/pages/tabbar/mine"
								})
							},1500)
						}
					},error=>{})
				}
			},
			btnRefund(){
				uni.showToast({title:"退款",icon:"none"})
			},
			btnFalse(){
				uni.showModal({
					title: '提示',
					content: '是否要取消售后？',
					success: (res) => {
						if (res.confirm) {
							uni.showToast({title:"取消成功",icon:"none"})
						}else if(res.cancel){}
					}
				});
			},
			btnTel(){
				var that = this;
				uni.showModal({
					title: '提示',
					content: '是否拨打平台客服电话\r\n'+this.data.tel,
					success: (res) => {
						if (res.confirm) {
							
							uni.makePhoneCall({
							    phoneNumber: that.telNumber,
								success: (res) => {
									console.log('成功!')
								},
								fail: (res) => {
									console.log('失败!')
								}
							});
							
							
							uni.showToast({title:"取消成功",icon:"none"})
						}else if(res.cancel){}
					}
				});
			},
			btnAgain(){
				uni.navigateTo({
					url:"/pages_mine/pages/order_PostSale/order_PostSale?id=" + this.id + "&order_num=" + this.order_num
				})
			},
			
			
			
		}
	}
</script>
<style lang="scss" scoped>
/deep/ .uni-input-input {font-size:28upx}
/deep/ .uni-radio-input-checked{background-color:rgb(110,43,34) !important;border:2upx solid white !important}
.content .html{
  ::v-deep {
    img {
      width: 100%;
    }
  }
}
</style>